Math.log Method

Returns the logarithm of x in base b.
 
 
Static This method is static.

Parameters

x

Type: Number
The value to calculate the logarithm of.
b

Type: Number
The logarithm base. If omitted base e is assumed.
Optional: True

Return Value


Type: Number
The logarithm.